# 放映厅表
from App.ext import db
from App.models import BaseModel


# 多对一，多的里面加一的外键
from App.models.cinema_admin.cinema_address_model import CinemaAddress


class Hall(BaseModel):
    h_address_id = db.Column(db.Integer , db.ForeignKey(CinemaAddress.id))
    h_num = db.Column(db.Integer , default = 1)     # 大厅的编号
    h_seats = db.Column(db.String(128))             # 大厅里的座位
